[INFO] cloning repository https://github.com/TheHitchhiker/encryption
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheHitchhiker/encryption" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheHitchhiker%2Fencryption", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheHitchhiker%2Fencryption'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 499610c54cf9c8f57b5254c2a8d5bac7fd1e887e
[INFO] testing TheHitchhiker/encryption against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheHitchhiker%2Fencryption" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TheHitchhiker/encryption on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/TheHitchhiker/encryption
[INFO] finished tweaking git repo https://github.com/TheHitchhiker/encryption
[INFO] tweaked toml for git repo https://github.com/TheHitchhiker/encryption written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/TheHitchhiker/encryption already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7ad87952e63aa03cdb0f74c61c1fe937041b27826fb8d115dae10a933cd993d8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7ad87952e63aa03cdb0f74c61c1fe937041b27826fb8d115dae10a933cd993d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ad87952e63aa03cdb0f74c61c1fe937041b27826fb8d115dae10a933cd993d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ad87952e63aa03cdb0f74c61c1fe937041b27826fb8d115dae10a933cd993d8", kill_on_drop: false }`
[INFO] [stdout] 7ad87952e63aa03cdb0f74c61c1fe937041b27826fb8d115dae10a933cd993d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd9b22b4ffa3ddda19f007b84ffd27fd2596b10a168fb04ee2e39591510fcaa9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "bd9b22b4ffa3ddda19f007b84ffd27fd2596b10a168fb04ee2e39591510fcaa9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling encrypt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `OsRng`, `Rng`
[INFO] [stdout]   --> src/main.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::{OsRng, Rng};
[INFO] [stdout]    |            ^^^^^  ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plaintext`
[INFO] [stdout]   --> src/main.rs:71:6
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let plaintext = decrypt_aes(&ciphertext[..], &key, &nonce).ok().unwrap();
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plaintext`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]   --> src/main.rs:72:6
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let hash = hmac.input(&ciphertext);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut nonce = "c1b793ec2f95083ace2442bf458e7ba8".from_hex().unwrap();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Operation` should have a snake case name
[INFO] [stdout]   --> src/main.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut Operation = aes::cbc_decryptor(
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operation`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/main.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut buffer = [0, 1024];
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(overflowing_literals)]` on by default
[INFO] [stdout]    = note: the literal `1024` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Operation` should have a snake case name
[INFO] [stdout]   --> src/main.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut Operation = aes::cbc_encryptor(
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/main.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut buffer = [0, 1024];
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the literal `1024` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `encrypt`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "bd9b22b4ffa3ddda19f007b84ffd27fd2596b10a168fb04ee2e39591510fcaa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd9b22b4ffa3ddda19f007b84ffd27fd2596b10a168fb04ee2e39591510fcaa9", kill_on_drop: false }`
[INFO] [stdout] bd9b22b4ffa3ddda19f007b84ffd27fd2596b10a168fb04ee2e39591510fcaa9
